﻿
@using (Html.BeginForm("GetResults", "Assignment", FormMethod.Post))
{
    <!-- Start View Container Section -->
    <div id="view-container">

        <!-- Start Top Container Section -->
        <div id="top-container">

            <label id="country-label">Country:</label>
            <select name="country" id="country-guid">

                @foreach (var country in @ViewBag.CountryInfoList)
                {
                    <option id="@Html.Encode(country.GUID)" value="@Html.Encode(country.GUID)">@Html.Raw(country.CountryName)</option>
                }

            </select>

        </div>
        <!-- End Top Container Section -->

        <!-- Start Bottom Container Section -->
        <div id="bottom-container">

            <div id="button-container">
                <input type="button" value="Cancel" onclick="javascript:DestroyModalDialog();"/>
                <input type="submit" name="Search" value="Search" />

                <div class="clear"></div>
            </div>

        </div>
        <!-- End Bottom Container Section -->

    </div>
    <!-- End View Container Section -->

}